package com.fau.sd.util;

import java.io.Serializable;

/**
 * @desc  
 * @author kangyj
 * @datetime 2014年12月12日,下午2:23:12
 */
public class SystemConfig implements Serializable {

	private static final long serialVersionUID = 4639595614206941595L;
	
	/*本地区号设置*/
	public static final String LOCAL_CODE = "010";					// 本地区号
	
	/*录音文件绝对路径*/
//	public static final String RECORDING_ABSOLUTE_PATH = "var/spool/asterisk/monitor/";	// 录音文件绝对路径
	
	/*漏线更改为一次进线，时间间隔*/
	public static final int EDIT_DRAIN_LINE_TIME = 15;				// 时间间隔（漏线15分钟内再次呼入，更新任务类别为一次进线）

	/*cti电话是否接起类型*/
	public static final String CTI_ANSWERED_TYPE = "ANSWERED";		// 接听
	public static final String CTI_NO_ANSWER_TYPE = "NO_ANSWERED";	// 未接听
	public static final String CTI_FAILED_ANSWER_TYPE = "FAILED";	// 挂断
	
	/*业务系统是否接起类型*/
	public static final String MEDICAL_ANSWERED_TYPE = "1";			// 接听
	public static final String MEDICAL_NO_ANSWER_TYPE = "0";		// 未接听
	
	/*生成任务，设置主要号码*/
	public static final String CUSTOMER_TEL_IS_MAIN = "1";			// 主要号码
	
	/*任务类别*/
	public static final String CALL_FIRST_TYPE = "19";				// 一次进线/待回访
	public static final String CALL_SECOND_TYPE = "20";				// 二次进线
	public static final String CALL_OMISSION_TYPE = "21";			// 漏线
	public static final String CALL_WASTE_TYPE = "27";				// 废线
	
	/*任务默认级别*/
	public static final String CALL_TASK_GRADE_INIT = "0";			// 初始等级（新生成未分配）
	
	/*话务提醒周期常量*/
	public static final String WEEK_REMIND = "44";					// 每周
	public static final String DAY_REMIND = "40";					// 每天
	public static final String MONTH_REMIND = "41";					// 每月
	public static final String YEAR_REMIND = "42";					// 每年
	public static final String ONCE_REMIND = "43";					// 一次性
	
	/*呼入呼出类型*/
	public static final String OUT_TO_IN_TYPE = "out2in";			// 呼入类型
	public static final String IN_TO_OUT_TYPE = "in2out";			// 呼出类型
	
	/*话务任务是否处理*/
	public static final String IS_NOT_DEAL_TYPE = "0";				// 未处理
	public static final String IS_DEAL_TYPE = "1";					// 已处理
	
	
	/*号码工具类验证结果类型*/
	public static final String CELLPHONE_TYPE = "CELLPHONE";		// 手机
	public static final String FIXEDPHONE_TYPE = "FIXEDPHONE";		// 固话
	public static final String INVALIDPHONE = "INVALIDPHONE";		// 非法号码
	
	/*号码工具类话费类型*/
	public static final String CALL_LONG_TYPE = "50";				// 长途
	public static final String CALL_CITY_TYPE = "51";				// 市话
	
	/*客户号码类型*/
	public static final String CUSTOMER_TEL_PHONE_TYPE = "30";		// 手机
	public static final String CUSTOMER_TEL_FIXED_TYPE = "29";		// 固话
	
	/*录音是否公开*/
	public static final String ISOPEN0 = "0"; 						//不公开
	
	/*任务处理状态*/
	public static final String CALL_TASK_UNALLOCATED = "28";		// 未分配
	public static final String CALL_TASK_UNTREATED = "23";			// 未处理
	public static final String CALL_TASK_PENDING = "26";			// 待处理
	public static final String CALL_TASK_TRANSFER = "24";			// 已转移
	public static final String CALL_TASK_END = "25";				// 已结束
	public static final String CALL_TASK_TERMINATE = "52";			// 已终止
	
	/*未处理话务任务，未被转移的任务，转移人为0*/
	public static final String CALL_UNT_NO_TRANSFER = "0";		// 未被转移的任务
	
	/*呼叫分机顺序*/
	public static final int CALL_ORDER_FIRST = 1;			// 第一个被呼叫分机
	
	/*超级管理员角色id*/
	public static final String SUPER_ADMIN = "1";					// 超级管理员用户
}
